﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class CHUCVU
    {
        private string _macv;

        public string macv
        {
            get { return _macv; }
            set { _macv = value; }
        }

        private string _tencv;

        public string tencv
        {
            get { return _tencv; }
            set { _tencv = value; }
        }

        private string _maquyen;

        public string maquyen
        {
            get { return _maquyen; }
            set { _maquyen = value; }
        }

        public CHUCVU()
        {
        }

        public CHUCVU(DataRow row)
        {
            this._macv = row["macv"].ToString();
            this._tencv = row["tencv"].ToString();
            this._maquyen = row["maquyen"].ToString();
        }


        public CHUCVU(string macv, string tencv, string maquyen)
        {
            this._macv = macv;
            this._tencv = tencv;
            this._maquyen = maquyen;
        }

    }
}
